﻿#pragma warning(disable: 4996)
#pragma warning(disable: 6031)

#include <stdio.h>

struct Date {
	int month;
	int day;
	int year;
};

void read_data()
{

}

void solve()
{
	struct Date today = { 07,31,2014 };
	struct Date thismonth = { .month = 7,.year = 2014 };
	printf("Today's date is %i-%i-%i.\n", today.year, today.month, today.day);
	printf("This month is %i-%i-%i.\n", thismonth.year, thismonth.month, thismonth.day);
	int* pi = (int*)&today;
	printf("Today's date is %i-%i-%i.\n", pi[2], pi[0], pi[1]);
}

int main()
{
	read_data();
	solve();
	return 0;
}

/*
 *	freopen("D:/Develop/GitRepos/MOOC/浙江大学/数据结构/201906/DataStructure/M2019秋C入门和进阶练习集/7-49.txt", "r", stdin);
 */
